package com.crc.luojian.factory;

import com.sun.istack.internal.Nullable;

/**
 * @Author luojian
 * @Description  beanPostProcessor
 * @Date  2021/6/10 15:35
 * @Param 
 * @return 
 **/
public interface BeanPostProcessor {
    //实例化之后需要执行的方法
    @Nullable
    default Object postProcessAfterInitialization(Object bean, String beanName)  {
        return bean;
    }

    @Nullable
    default Object postProcessBeforeInitialization(Object bean, String beanName) {
        return bean;
    }
}
